package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by feng on 2017/2/25.
 */
@Entity
@Table ( name = "v_user_actor_menu", schema = "hualude_db", catalog = "" )
public class UserActorMenuEntity {
    private Integer userId;
    private String loginName;
    private Integer actorId;
    private String actorName;
    private Integer amId;
    private Integer menuId;
    private Integer menuType;
    private Integer powerInsert;
    private Integer powerDelete;
    private Integer powerUpdate;
    private Integer powerSelect;
    private Integer auId;

    @Basic
    @Column ( name = "UserId" )
    public Integer getUserId ( ) {
        return userId;
    }

    public void setUserId ( Integer userId ) {
        this.userId = userId;
    }

    @Basic
    @Column ( name = "LoginName" )
    public String getLoginName ( ) {
        return loginName;
    }

    public void setLoginName ( String loginName ) {
        this.loginName = loginName;
    }

    @Basic
    @Column ( name = "ActorId" )
    public Integer getActorId ( ) {
        return actorId;
    }

    public void setActorId ( Integer actorId ) {
        this.actorId = actorId;
    }

    @Basic
    @Column ( name = "ActorName" )
    public String getActorName ( ) {
        return actorName;
    }

    public void setActorName ( String actorName ) {
        this.actorName = actorName;
    }

    @Basic
    @Column ( name = "AMId" )
    public Integer getAmId ( ) {
        return amId;
    }

    public void setAmId ( Integer amId ) {
        this.amId = amId;
    }

    @Basic
    @Column ( name = "MenuId" )
    public Integer getMenuId ( ) {
        return menuId;
    }

    public void setMenuId ( Integer menuId ) {
        this.menuId = menuId;
    }

    @Basic
    @Column ( name = "MenuType" )
    public Integer getMenuType ( ) {
        return menuType;
    }

    public void setMenuType ( Integer menuType ) {
        this.menuType = menuType;
    }

    @Basic
    @Column ( name = "PowerInsert" )
    public Integer getPowerInsert ( ) {
        return powerInsert;
    }

    public void setPowerInsert ( Integer powerInsert ) {
        this.powerInsert = powerInsert;
    }

    @Basic
    @Column ( name = "PowerDelete" )
    public Integer getPowerDelete ( ) {
        return powerDelete;
    }

    public void setPowerDelete ( Integer powerDelete ) {
        this.powerDelete = powerDelete;
    }

    @Basic
    @Column ( name = "PowerUpdate" )
    public Integer getPowerUpdate ( ) {
        return powerUpdate;
    }

    public void setPowerUpdate ( Integer powerUpdate ) {
        this.powerUpdate = powerUpdate;
    }

    @Basic
    @Column ( name = "PowerSelect" )
    public Integer getPowerSelect ( ) {
        return powerSelect;
    }

    public void setPowerSelect ( Integer powerSelect ) {
        this.powerSelect = powerSelect;
    }

    @Basic
    @Column ( name = "AUId" )
    public Integer getAuId ( ) {
        return auId;
    }

    public void setAuId ( Integer auId ) {
        this.auId = auId;
    }


    private String id;

    @Id
    public String getId ( ) {
        return id;
    }

    public void setId ( String id ) {
        this.id = id;
    }
}
